import requests

base_url = 'http://www.renren.com/976653554'
headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36',
    'Cookie': 'cookie',
}
data = {
    'phone':账号
    'password':密码
}
response = requests.get(base_url,headers=headers,data=data)

if '李思行' in response.text:
    print('登录成功')
else:
    print('登录失败')